projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee250e
)
(mail-strip-quoted-names): Preserve white space
author
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Oct 1995 21:05:53 +0000
(21:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Oct 1995 21:05:53 +0000
(21:05 +0000)
after comma when stripping text outside of <> delims.
lisp/mail/mail-utils.el
patch
|
blob
|
history
diff --git
a/lisp/mail/mail-utils.el
b/lisp/mail/mail-utils.el
index 26ad072293ee1652de232b66ee7f8cff57bbdaf4..80a1fbbc9ce37297448074f7cb3b28027b140b93 100644
(file)
--- a/
lisp/mail/mail-utils.el
+++ b/
lisp/mail/mail-utils.el
@@
-116,7
+116,7
@@
Return a modified address list."
(mail-string-delete address
pos (match-end 0)))))
;; Retain only part of address in <> delims, if there is such a thing.
- (while (setq pos (string-match "\\(,\\|\\`\\)[^,]*<\\([^>,]*>\\)"
+ (while (setq pos (string-match "\\(,\\
s-*\\
|\\`\\)[^,]*<\\([^>,]*>\\)"
address))
(let ((junk-beg (match-end 1))
(junk-end (match-beginning 2))